package com.dibang.app.operation.presenter.impl;

import android.content.Context;
import android.support.annotation.NonNull;

import com.amap.api.location.AMapLocationClient;
import com.amap.api.maps.model.MyLocationStyle;
import com.dibang.app.mvp.abs.AbsPresenter;
import com.dibang.app.operation.model.abs.MainModel;
import com.dibang.app.operation.presenter.abs.MainPresenter;
import com.dibang.app.operation.view.abs.MainView;
import com.zaaach.citypicker.model.HotCity;

import java.util.List;

/**
 * Created by wxl on 2019/7/24.
 *
 */

public class MainPresenterImpl extends AbsPresenter<MainView,MainPresenter,MainModel> implements MainPresenter {


    @Override
    public @NonNull MyLocationStyle generateLocationStyle(@NonNull Context context) {
        return model.generateLocationStyle(context);
    }

    @Override
    public @NonNull AMapLocationClient generateLocationClient(@NonNull Context context) {
        return model.generateLocationClient(context);
    }

    @NonNull
    @Override
    public List<HotCity> generateHotCity() {
        return model.generateHotCity();
    }
}
